// 登录对象类型
export type UserLoginType = {
	loginName: string;
	password: string;
	captcha: string;
	tenantId: string;
};

// 用户对象类型
export type UserType = {
	loginName: string;
	password: string;
	role: string;
	roleId: string;
	permissions: string | string[];
};

// 角色对象类型
export type RoleType = {
	id: number;
	roleName: string;
	roleSign: string;
	sort: number;
	active: number;
	remark: string;
};

// 企业对象类型
export type TenantType = {
	id: number;
	tenantName: string;
	contact: string;
	phone: string;
	address: string;
	active: number;
	remark: string;
}

// 企业表格数据类型
interface TenantTableType extends TableType {
	data: TenantType[];
}

// 企业信息状态类型
export declare interface TenantState {
	tableData: TenantTableType;
}